package com.sxdz.controller.mapper;

import com.sxdz.models.TOrder
import org.apache.ibatis.annotations.Param;

public interface TOrderMapper extends  IBaseMapper<TOrder>{
    /**
     * 按时间查询订单
     * @param params
     * @return
     */
    List<TOrder> selectByDate(@Param(value = "params") Map<String,Object> params);

    List<TOrder> selectByStatus(String status);

    int  deleteByPrimaryKey(Long id);
}